home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15981 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 8 Apr 1996 21:22:26 -0400
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.829012748@schonberg>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg> <4k9qhe$65r@solutions.solon.com> <dewar.828936837@schonberg> <828964950snz@genesis.demon.co.uk> <4kbfup$2vd@news1.mnsinc.com> <4kbl5i$p3@mordred.gatech.edu> <4kbs17$6ts@news1.mnsinc.com>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. Szu-Wen said
  13.  
  14.  
  15. It's a joke, lighten up ;).
  16.  
  17.  
  18. (referring to his comment about portability of behavior)
  19.  
  20. Actually the joke is on you, because the comment you made is not a joke
  21. at all but instead a very important point, around which a lot of language
  22. design decisions focus.
  23.  
  24. An obvous goal of any language design is to minimize or eliminate
  25. undefined and non-deterministic behavior.
  26.  
  27. These goals are often not net because of two important considerations:
  28.  
  29.  1. Over specifying can lead to inefficient code (e.g. requiring left to
  30.     right evaluation)
  31.  
  32.  2. Some features (low level bit twiddling, tasking, etc.) may make it
  33.     desirable semantically to introduce undefined or ND behavior.
  34.  
  35. Debating the compromises here is a major activity of language design.
  36.  
  37.